package cn.wuzongbo.tes.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.wuzongbo.tes.mapper.ArticleCateMapper;
import cn.wuzongbo.tes.po.ArticleCate;
import cn.wuzongbo.tes.po.ArticleCateExample;
import cn.wuzongbo.tes.service.ArticleCateService;
@Service
public class ArticleCateServiceImpl implements ArticleCateService {
	@Autowired
	private ArticleCateMapper articleCateService;

	@Override
	public int insertArticleCate(ArticleCate articleCate) {
		// TODO Auto-generated method stub
		return articleCateService.insertSelective(articleCate);
	}

	@Override
	public List<ArticleCate> query(ArticleCateExample articleCateExample) {
		// TODO Auto-generated method stub
		return articleCateService.selectByExample(articleCateExample);
	}

}
